exports.weatherImg = function (weather) {
    if (weather == "晴") {
        return require('@/assets/images/晴.png');
    } else if (weather == "晴转多云") {
        return require('@/assets/images/晴转多云.png');
    } else if (weather == "晴转雨") {
        return require('@/assets/images/晴转雨.png');
    } else if (weather == "多云") {
        return require('@/assets/images/多云.png');
    } else if (weather == "多云转晴") {
        return require('@/assets/images/多云转晴.png');
    } else if (weather == "多云转雨") {
        return require('@/assets/images/多云转雨.png');
    } else if (weather == "小雨") {
        return require('@/assets/images/小雨.png');
    } else if (weather == "中雨") {
        return require('@/assets/images/中雨.png');
    } else if (weather == "大雨") {
        return require('@/assets/images/大雨.png');
    } else if (weather == "雷阵雨") {
        return require('@/assets/images/雷阵雨.png');
    } else if (weather.indexOf("雪") !== -1) {
        return require('@/assets/images/雪.png');
    } else if (weather.indexOf("雷") !== -1) {
        return require('@/assets/images/雷阵雨.png');
    } else if (weather.indexOf("电") !== -1) {
        return require('@/assets/images/雷电.png');
    } else if (weather.indexOf("雨") !== -1) {
        return require('@/assets/images/中雨.png');
    } else if (weather.indexOf("云") !== -1) {
        return require('@/assets/images/多云.png');
    }
}